package com.cloudbroker.bcs.common.mycat.config.model.rule;

/**
 * Created by xuyn15828 on 2016/6/7.
 */
public interface RuleAlgorithm {
    public abstract void init();

    public abstract Integer calculate(String columnValue);

    public abstract Integer[] calculateRange(String beginValue, String endValue);
}
